package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("admin")
@NoArgsConstructor
@AllArgsConstructor
public class Admin {
    @TableId(value = "ad_id",type = IdType.AUTO)
    private Long adId;
    private String adName;
    private String adPassword;
    private  String adAccount;
}
